<?php

namespace app\modules\lenders\models;

use Yii;

/**
 * This is the model class for table "rah_bankPaymentAmtDtl".
 *
 * @property integer $payBankID
 * @property string $bankName
 * @property string $bankCity
 * @property string $bankUserName
 * @property string $branchBankName
 * @property string $cardID
 * @property integer $lendInvestID
 * @property integer $bankID
 * @property string $payAmt
 */
class BankPaymentAmtDtl extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'rah_bankPaymentAmtDtl';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['lendInvestID', 'bankID'], 'integer'],
            [['payAmt'], 'number'],
            [['bankName', 'bankCity'], 'string', 'max' => 100],
            [['bankUserName'], 'string', 'max' => 50],
            [['branchBankName'], 'string', 'max' => 200],
            [['cardID'], 'string', 'max' => 30],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'payBankID' => 'Pay Bank ID',
            'bankName' => 'Bank Name',
            'bankCity' => 'Bank City',
            'bankUserName' => 'Bank User Name',
            'branchBankName' => 'Branch Bank Name',
            'cardID' => 'Card ID',
            'lendInvestID' => 'Lend Invest ID',
            'bankID' => 'Bank ID',
            'payAmt' => 'Pay Amt',
        ];
    }
}
